package com.example.back.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "信息发布返回体")
public class DoctorNoticeListResp {
    @ApiModelProperty(value = "信息发布ID")
    @JSONField(name = "ID")
    private Long id;

    @ApiModelProperty(value = "信息发布内容")
    @JSONField(name = "Contents")
    private String contents;

    @ApiModelProperty(value = "操作人")
    @JSONField(name = "CreateName")
    private String createName;

    @ApiModelProperty(value = "是否置顶")
    @JSONField(name = "IsTop")
    private Boolean isTop;

    @ApiModelProperty(value = "信息发布类型")
    @JSONField(name = "NType")
    private String nType;

    @ApiModelProperty(value = "创建时间")
    @JSONField(name = "CreateTime")
    private Date createTime;
}
